Sales Business Processes
Last Edit: December 1, 2017 the alpha360 team
The Sales Entity has the following BPs:
Quotes, Orders, Shipments and Invoices are Sales Entities
This BP adds a bSales record and a related bBusinessDocument record- and if needed - it adds records to the related bBusinessDocument_ProductLine and bBusinessDocument_TAXLine tables.
BP_Sales_add
BP_Sales_add (LOCAL p_R_bBusinessDocument is Record of bBusinessDocument, LOCAL p_R_bSales is Record of bSales, p_Array_BusinessDocument_ProductLine , p_Array_BusinessDocument_TAXLine, p_Array_BusinessDocument_AdjustTAXLine, p_Array_BusinessDocument_CashLine, LOCAL p_sUserPK is string, p_sReturnPK is string, p_sErrorMessage is string)
IF true then COMMIT ELSE ROLLBACK
This BP modifies a bSales record and its related bBusinessDocument record- and if needed - it adds/modifies/deletes records from the related bBusinessDocument_ProductLine and bBusinessDocument_TAXLine tables.
This BP can act on Sales Objects that have NOT been posted.
BP_Sales_modify
BP_Sales_modify(LOCAL p_R_bBusinessDocument is Record of bBusinessDocument, LOCAL p_R_bSales is Record of bSales, p_Array_BusinessDocument_ProductLine , p_Array_BusinessDocument_TAXLine, p_Array_BusinessDocument_AdjustTAXLine, p_Array_BusinessDocument_CashLine, LOCAL p_sUserPK is string, p_sErrorMessage is string)
IF true then COMMIT ELSE ROLLBACK
This BP deletes a bSales record and its related bBusinessDocument record- and if needed - it deletes all the records from the related bBusinessDocument_ProductLine and bBusinessDocument_TAXLine tables.
This BP can act on Sales Objects that have NOT been posted.
BP_Sales_delete
BP_Sales_delete(LOCAL p_sPK is string, LOCAL p_sUserPK is string, p_sErrorMessage is string)
IF true then COMMIT ELSE ROLLBACK
This BP posts a Sales Object to the ERP - see Sales Transactions for more information about posting.
This BP can act on Sales Objects that have NOT been posted.
BP_Sales_Post
BP_Sales_Post(LOCAL p_sPK is string, LOCAL p_sUserPK is string, p_sErrorMessage is string)
IF true then COMMIT ELSE ROLLBACK
This BP unposts a Sales Object from the ERP - see Sales Transactions for more information about posting.
This BP can act on Sales Objects that have been posted.
BP_Sales_unPost
BP_Sales_unPost(LOCAL p_sPK is string, LOCAL p_sUserPK is string, p_sErrorMessage is string)
IF true then COMMIT ELSE ROLLBACK
next -> SalesAR Business Processes
Copyright 2017 - computerplus