At Customize Table (Call From All Validate, All trigger) IF recSalesLn.GET("Document Type","Document No.","Source Line No.") THEN IF recSalesLn."Hidden TCost (Q)" = 0 THEN BEGIN recTCost.SETRANGE("Document Type","Document Type"); recTCost.SETRANGE("Document No.","Document No."); IF recTCost.FINDSET(TRUE,TRUE) THEN recTCost.SETRANGE("Source Line No.","Line No."); IF recTCost.FINDSET(TRUE,TRUE) THEN BEGIN recTCost.CALCSUMS("Gross Selling Price"); recSalesLn."TCost" := recTCost."Gross Selling Price"; (Actual 1000 but after close form i see 0 at sales line); END ELSE recSalesLn."TCost" := recTCost."Gross Selling Price"; recSalesLn.MODIFY; END;Regards,
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
Thank you. But
Yes ...!
I wrote
Any idea ? :oops:
Regards,
RIS Plus, LLC