hi mates,
I am very stress on build a view. I am going to add a function to post shipment or adjustment on IC with Serial/Lot costing method. I try to compose the ICSHED with ICSHEDS and ICSHEDL but no luck at all. the error says Shipment detail. this view's foreign key declaration is incomparable with the composite's view 'Compose views'
My code is
CHECK_CALL (e, viewCompCnt (SDrvh, SDview, 10));
composites[0] = SHview;
composites[1] = NULL;
composites[2] = NULL;
composites[3] = NULL;
composites[4] = NULL;
composites[5] = NULL;
composites[6] = NULL;
composites[7] = NULL;
composites[8] = SDLview;
composites[9] = SDSview;
CHECK_CALL (e, viewCompose (SDrvh, SDview, (LPVIEWDEF) composites));
I tried to just compose the SHview and SDOview with no problem.
Do you guys know why serial detail and lot detail cannot be compose with shipment detail manually?
Cheers
I am very stress on build a view. I am going to add a function to post shipment or adjustment on IC with Serial/Lot costing method. I try to compose the ICSHED with ICSHEDS and ICSHEDL but no luck at all. the error says Shipment detail. this view's foreign key declaration is incomparable with the composite's view 'Compose views'
My code is
CHECK_CALL (e, viewCompCnt (SDrvh, SDview, 10));
composites[0] = SHview;
composites[1] = NULL;
composites[2] = NULL;
composites[3] = NULL;
composites[4] = NULL;
composites[5] = NULL;
composites[6] = NULL;
composites[7] = NULL;
composites[8] = SDLview;
composites[9] = SDSview;
CHECK_CALL (e, viewCompose (SDrvh, SDview, (LPVIEWDEF) composites));
I tried to just compose the SHview and SDOview with no problem.
Do you guys know why serial detail and lot detail cannot be compose with shipment detail manually?
Cheers