summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/IC.pm6
-rwxr-xr-xLedgerSMB/IS.pm3
-rwxr-xr-xLedgerSMB/OE.pm11
3 files changed, 8 insertions, 12 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm
index 52ad9654..276992fc 100755
--- a/LedgerSMB/IC.pm
+++ b/LedgerSMB/IC.pm
@@ -42,8 +42,7 @@ sub get_part {
for (keys %$ref) { $form->{$_} = $ref->{$_} }
$sth->finish;
- my %oid = ('Pg' => 'a.oid',
- 'PgPP' => 'a.oid',
+ my %oid = ('Pg' => 'TRUE',
'Oracle' => 'a.rowid',
'DB2' => '1=1'
);
@@ -1384,8 +1383,7 @@ sub include_assembly {
$form->{$id} = 1;
- my %oid = ('Pg' => 'a.oid',
- 'PgPP' => 'a.oid',
+ my %oid = ('Pg' => 'TRUE',
'Oracle' => 'a.rowid',
'DB2' => '1=1'
);
diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm
index 5bb7ef63..2cb4d259 100755
--- a/LedgerSMB/IS.pm
+++ b/LedgerSMB/IS.pm
@@ -46,8 +46,7 @@ sub invoice_details {
my $translation;
my $partsgroup;
- my %oid = ( 'Pg' => 'oid',
- 'PgPP' => 'oid',
+ my %oid = ( 'Pg' => 'TRUE',
'Oracle' => 'rowid',
'DB2' => '1=1'
);
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm
index 25bcecd3..3e372e29 100755
--- a/LedgerSMB/OE.pm
+++ b/LedgerSMB/OE.pm
@@ -626,8 +626,7 @@ sub retrieve {
$sth->finish;
for (qw(printed emailed queued)) { $form->{$_} =~ s/ +$//g }
- my %oid = ( 'Pg' => 'oid',
- 'PgPP' => 'oid',
+ my %oid = ( 'Pg' => 'TRUE',
'Oracle' => 'rowid',
'DB2' => '1=1'
);
@@ -930,8 +929,8 @@ sub order_details {
my $translation;
my $partsgroup;
- my %oid = ( 'Pg' => 'oid',
- 'PgPP' => 'oid',
+ my %oid = ( 'Pg' => 'TRUE',
+ 'PgPP' => 'TRUE',
'Oracle' => 'rowid',
'DB2' => '1=1'
);
@@ -1608,8 +1607,8 @@ sub adj_onhand {
sub adj_inventory {
my ($dbh, $myconfig, $form) = @_;
- my %oid = ( 'Pg' => 'oid',
- 'PgPP' => 'oid',
+ my %oid = ( 'Pg' => 'TRUE',
+ 'PgPP' => 'TRUE',
'Oracle' => 'rowid',
'DB2' => '1=1'
);